package com.hd.entity.sys;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.validator.constraints.NotBlank;


/**
 * <p>
 * 角色
 * </p>
 */
@Entity
@Table(name = "sys_role")
public class Role implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    @Id
    private String id;
    /**
     * 角色名
     */
    private String name;
    /**
     * 编码,以ROLE_开头，大写，如ROLE_ADMIN
     */
    private String code;

    /**
     * 排序号
     */
    private Integer seq;

    /**
     * 简介、描述
     */
    private String description;

    /**
     * 状态 1-正常/有效，0-停用/无效
     */
    private Integer status;


    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getSeq() {
        return this.seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}